package com.base.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import com.base.mapper.voipmapper.AboutsMapper;
import com.base.po.voip.Abouts;
import com.base.po.voip.AboutsExample;
import com.base.service.AboutsService;

@Service("aboutsService")
public class AboutsServiceImpl implements AboutsService {
	
	@Autowired
	private AboutsMapper aboutsMapper;

	@Override
	public int countByExample(AboutsExample example) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int deleteByExample(AboutsExample example) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int deleteByPrimaryKey(String id) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int insert(Abouts record) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int insertSelective(Abouts record) {
		return aboutsMapper.insertSelective(record);
	}

	@Override
	public List<Abouts> selectByExample(AboutsExample example) {
		// TODO Auto-generated method stub
		return null;
	}

	@Override
	public Abouts selectByPrimaryKey(String id) {
		return aboutsMapper.selectByPrimaryKey(id);
	}

	@Override
	public int updateByExampleSelective(Abouts record, AboutsExample example) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int updateByExample(Abouts record, AboutsExample example) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public int updateByPrimaryKeySelective(Abouts record) {
		return aboutsMapper.updateByPrimaryKeySelective(record);
	}

	@Override
	public int updateByPrimaryKey(Abouts record) {
		// TODO Auto-generated method stub
		return 0;
	}

	@Override
	public Abouts selectByUserID(String userid) {
		if (userid == null) {
			return null;
		}
		return aboutsMapper.selectByUserID(userid);
	}
}
